var __extends = (this && this.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var Jspang = /** @class */ (function () {
    function Jspang(name, age, skill) {
        this.name = name;
        this.age = age;
    }
    Jspang.prototype.interest = function () {
        console.log('找小姐姐');
    };
    return Jspang;
}());
var ass = new Jspang('技术胖', 18, 'web');
ass.interest();
// class JsShuai extends Jspang {
// 	public xingxiang:string = '帅气'
// 	public zhuangQian(){
// 		console.log('一天赚了一个亿')
// 	}
// }
// let shuai = new JsShuai('技术帅',5,'演讲')
// shuai.interest()
// shuai.zhuangQian()
// console.log(shuai.xingxiang)
// class zj extends Jspang {
// 	public xinge : string = '丑陋'
// 	public Nomoney(){
// 		console.log('瓜皮')
// 	}
// }
// let benRen =  new zj('jser',24,'web')
// benRen.Nomoney()
// class guang extends  Jspang {
// 	public weige : string = '死胖子'
// 	public Nomoneys(){
// 		console.log('神仙车技')
// 	}
// }
// let webMan = new guang('技术',27)
// console.log(webMan.weige)
// webMan.interest()
// webMan.Nomoneys()
var son = /** @class */ (function (_super) {
    __extends(son, _super);
    function son() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this.boast = '牛皮';
        return _this;
    }
    son.prototype.interest = function () {
        _super.prototype.interest.call(this);
        console.log('建立电商平台');
    };
    son.prototype.zhuangQian = function () {
        console.log('一天赚了一个亿啊');
    };
    return son;
}(Jspang));
var mySon = new son('jser的儿子', 1);
mySon.interest();
// class JsShuai extends Jspang{
//     public xingxiang:string = '帅气'
//     public interest(){
// 		 console.log('建立电商平台')
//         super.interest()
//     }
//     public zhuangQian(){
//         console.log('一天赚了一个亿')
//     }
// }
// let shuai = new JsShuai('gupi',2,'s')
// shuai.interest()
